package com.atcc.demo.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.atcc.demo.dao.ClassInfo;
import com.atcc.demo.mapper.ClassMapper;

@Service
public class ClassServiceImpl implements ClassService {

	@Autowired
	ClassMapper classMapper;
	
	@Override
	public List<ClassInfo> getClassByName(String name) {
		
		return classMapper.getClassInfoByName(name);
	}

}
